Skip to main content
Version: 3.7

Update Policies

  1. Navigate to the Policies sub tab, which is located under the Usage Plans tab.

editpoliciesapipack

  1. Click Usage Policy to Assign Plan level policies if necessary.

editpoliciesapipack1

  1. Click Assign Policy.

Plan Level - Select Existing Usage Policies dialog box appears as shown below.

info

Usage policies which are in the Published state are displayed in the Plan Level - Select Existing Usage Policies dialog box.

  1. Select the Usage Policy by clicking on the appropriate checkboxes.

  2. Click Assign.

The Assigned policy has been added to the Usage Policy drop down, as shown below.

editpoliciesapipack3

info

Click the Delete icon to delete the Assigned policy if necessary.

  1. Click Plan Authentication to Assign Plan level Authentication if necessary.
note

The authentication for a plan is used to give access to API services associated with the plan to which the user has subscribed.

The following authentication types can be configured under the Plan Authentication to use the APIs:

  • Subscription key
  • IP Whitelisting
  • Header key
  • Query parameter
  1. Select the Authentication from the dropdown.

editpoliciesapipack4

note

If Header key or Query parameter is selected as the Authentication, enter the Key Value.

  1. Click Security Policy to Assign Resource level Security policy if necessary.

editpoliciesapipack5

note

The following Policy Types can be configured under the Resource level Security policy:

  • None
  • Basic Authentication
  • oAuth
  1. Select the Policy Type from the drop down.

  2. Enter the MCT limit.

editpoliciesapipack6

note

If oAuth is selected as the Policy Type,

a. Enter the Username header key. b. Enable the Access Token and the Client ID checkboxes as per the requirement.

editpoliciesapipack6.1

  • If the Username header key box is left blank, the oAuth token will not be validated against the username.
  1. Click Usage Policy to Assign Resource level usage policy if necessary.

editpoliciesapipack7

info

The Resource/Operation level Policy is implemented at runtime when you have it set up at both the Plan and Resource/Operation levels.

editpoliciesapipack8

  1. Click the Edit icon.

Resource Level - Select Existing Usage Policies dialog box appears as shown below.

info

If you have assigned Usage policies at both the Plan and Resource/Operation levels, the Resource/Operation level Usage policy is implemented during runtime.

  1. Select the Usage Policy by clicking on the appropriate checkboxes.

  2. Click Assign.

The Assigned policy has been added to the Usage Policy drop down, as shown below.

editpoliciesapipack10

info

Click the Delete icon to delete the Assigned policy if necessary.

  1. Click Save as Draft.

editpoliciesapipack11